<!-- Sidebar -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  <!-- Brand and toggle get grouped for better mobile display -->
  <div class="navbar-header">
    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
      <span class="sr-only">Toggle navigation</span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </button>
    <a class="navbar-brand" href="index.html">双辉旅程网{:lcfirst($Request.controller)}{:lcfirst($Request.action)}</a>
  </div>

  <!-- Collect the nav links, forms, and other content for toggling -->
  <div class="collapse navbar-collapse navbar-ex1-collapse">
    <ul class="nav navbar-nav side-nav" id="sideNav">
      <li class="active"><a href="/manager/index"><i class="fa fa-dashboard"></i> 管理首页</a></li>
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-bar-chart-o"></i> 订单管理<b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="/orders/indexpay">订单信息汇总</a></li>
        </ul>
      </li>
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-table"></i> 会员管理<b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="/usercontrol/list">会员列表</a></li>
        </ul>
      </li>
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-edit"></i> 房车管理<b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="/caravancontrol/list">房车列表</a></li>
        </ul>
      </li>
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-font"></i> 营地管理<b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="/campcontrol/index">营地列表</a></li>
        </ul>
      </li>
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-file"></i> 旅行币管理<b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="/intergrate/list">旅行币流水</a></li>
        </ul>
      </li>
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-file"></i> 管理员管理<b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="/manager/managerlist">管理员列表</a></li>
        </ul>
      </li>
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-file"></i> 财务管理<b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="/cash/list">现金流水</a></li>
        </ul>
      </li>
    </ul>

    <ul class="nav navbar-nav navbar-right navbar-user">
      <li class="dropdown messages-dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-envelope"></i> 消息 <span class="badge">3</span> <b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li class="dropdown-header">3 新消息</li>
          <li class="divider"></li>
          <li class="message-preview">
            <a href="#">
              <span class="name">北京八达岭营地泊位088新订单</span>
              <span class="message">需要帐篷，鱼竿和简单的烧烤设备...</span>
              <span class="time"><i class="fa fa-clock-o"></i> 2016-08-08至2016-08-18</span>
            </a>
          </li>
          <li class="divider"></li>
          <li class="message-preview">
            <a href="#">
              <span class="name">上海迪斯尼营地泊位088新订单</span>
              <span class="message">需要帐篷，鱼竿和简单的烧烤设备...</span>
              <span class="time"><i class="fa fa-clock-o"></i> 2016-08-19至2016-08-29</span>
            </a>
          </li>
          <li class="divider"></li>
          <li><a href="/ordercaravan/infolist">查看 <span class="badge">3</span></a></li>
        </ul>
      </li>
      <li class="dropdown user-dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> {php} echo session('manager.name') {/php} <b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="/manager/managerinfo"><i class="fa fa-user"></i> 个人资料</a></li>
          <li><a href="/manager/setpassword"><i class="fa fa-gear"></i>修改密码</a></li>
          <li class="divider"></li>
          <li><a href="/manager/logout"><i class="fa fa-power-off"></i> 退出</a></li>
        </ul>
      </li>
    </ul>
  </div><!-- /.navbar-collapse -->
</nav>
